package com.jhgk.jhcee.data.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;

/**
* @Description：系统模块记录表
*/
@Data
@NoArgsConstructor
@FieldNameConstants
@EqualsAndHashCode(callSuper = false)
@TableName("sys_module_info")
@ApiModel(value="SysModuleInfo对象", description="系统模块记录表")
public class SysModuleInfo implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键ID")
    @TableId(value = "module_id", type = IdType.AUTO)
    private Long moduleId;

    @ApiModelProperty(value = "模块名称")
    @TableField("module_name")
    private String moduleName;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "记录是否有效")
    @TableField("is_valid")
    private Integer isValid;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_date")
    private Date createDate;

    @ApiModelProperty(value = "更新日期")
    @TableField("update_date")
    private Date updateDate;


}

